package com.xiashitech.agent.instrumentation.base.launch;

import io.opentelemetry.javaagent.OpenTelemetryAgent;

import java.lang.instrument.Instrumentation;

public class LaunchTelemetry {

    public static void launch(String agentArgs, Instrumentation inst, String agentPath) {
        System.setProperty("otel.javaagent.experimental.initializer.jar", agentPath);
        OpenTelemetryAgent.premain(agentArgs,inst);
    }

}
